package org.yanh.common.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value ="cart")
public interface CartClient {
    @DeleteMapping ("/carts")
    void removeByItemIds(@RequestParam("ids") List<Long> ids);
}
